package com.guigu.common.mapper;


import com.guigu.common.pojo.MManufacture;
import com.guigu.common.pojo.SPay;
import com.guigu.common.pojo.SPayDetails;
import com.guigu.common.vo.SearchVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SPayMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SPay record);

    int insertSelective(SPay record);

    SPay selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SPay record);

    int updateByPrimaryKey(SPay record);

    void addSpay(SPay spay);


    List querySpayToAudit(SearchVo searchVo);

    int changeSpayAA(SPay sPay);

    List querySpayAlla(SearchVo searchVo);

    void insertPaya(@Param("returnId") String returnId, @Param("mManufacture1") MManufacture mManufacture1);

    List findFormulateSpaya(SearchVo searchVo);

    void updateStore_tagByid(SPay sPay);

    List querySpayOut(SearchVo searchVo);

    List queryOutboundCheck(SearchVo searchVo);

    void updateSpayPaidAcountSum(String id);

    void updatePayTagById(List<SPayDetails> list);

    void updateSpayPatTagByPayId(SPay sPay);
    void insertPay(@Param("returnId") String returnId,@Param("mManufacture") MManufacture mManufacture1);

    void changeSpayNo(SPay s);
}